<?php
return [
    'default' => [
        'uri' => [
            'host' => env('BIZ_DB_HOST'),
            'port' => env('BIZ_DB_PORT'),
            'user' => env('BIZ_DB_USERNAME'),
            'password' => env('BIZ_DB_PASSWORD'),
            'database' => env('BIZ_DB_DATABASE'),
            'charset' => env('BIZ_DB_CHARSET'),
            'timeout' => 0,
            'filter' => \Demo\App\Behavior\SqlFilter::class,
            'recorder' => \Demo\App\Behavior\SqlRecorder::class,
            'sqlManualInter' => false,
        ],
        'read' => 'default_read',
        'pools' => 50,
    ],
    'default_read' => [
        'uri' => [
            'host' => env('BIZ_DB_HOST'),
            'port' => env('BIZ_DB_PORT'),
            'user' => env('BIZ_DB_USERNAME'),
            'password' => env('BIZ_DB_PASSWORD'),
            'database' => env('BIZ_DB_DATABASE'),
            'charset' => env('BIZ_DB_CHARSET'),
            'timeout' => 0,
            'filter' => \Demo\App\Behavior\SqlFilter::class,
            'recorder' => \Demo\App\Behavior\SqlRecorder::class,
            'sqlManualInter' => false,
        ],
        'pools' => 50,
    ],

    'log' => [
        'uri' => [
            'host' => env('LOG_DB_HOST'),
            'port' => env('LOG_DB_PORT'),
            'user' => env('LOG_DB_USERNAME'),
            'password' => env('LOG_DB_PASSWORD'),
            'database' => env('LOG_DB_DATABASE'),
            'charset' => env('LOG_DB_CHARSET'),
            'timeout' => 0,
            'filter' => \Demo\App\Behavior\SqlFilter::class,
            'recorder' => \Demo\App\Behavior\SqlRecorder::class,
            'sqlManualInter' => false,
        ],
        'pools' => 50,
    ],
];
